package com.exercise.memberscheduling.domain.entity;

import lombok.Data;

public enum OperateType {
    BuyCourseTimes("BuyCourseTimes","购买"),ClassBegin("ClassBegin","上课"),reviseAdd("reviseAdd","修改增加")
    ,reviseReduce("reviseReduce","修改减少");
    private String type;
    private String operate;
    private OperateType(String type,String operate)
    {
        this.operate=operate;
        this.type=type;
    }
    @Override public String toString()
    {
        return type;
    }
    public String getOperate()
    {
        return operate;
    }
}
